package com.zmn.plat.consts;

/**
 * 类描述：erp财务配置
 *
 * @author lishuangjiang
 * @since 2019/08/28 12:45
 */
public class ErpConfigConst {

    /**
     * 基础提留1、品类补贴2、最小配置3、基础提留服务商11、品类补贴服务商21、品类补贴服务商城市22、最小配置服务商31
     * 这个常量命名是真的🌶️🐔(建议使用下面一组)
     */
    public static final int BASE_CONFIG = 1;
    public static final int SUBSIDIES_CONFIG = 2;
    public static final int MIN_ASIDE_CONFIG = 3;
    public static final int BASE_CONFIG_SP = 11;
    public static final int SUBSIDIES_CONFIG_SP = 21;
    public static final int SUBSIDIES_CONFIG_SP_CITY = 22;
    public static final int MIN_ASIDE_CONFIG_SP = 31;

    /**
     * 工程师基础提留配置-服务商配置
     */
    public static final int ERP_CONFIG_TYPE_SETTLE_COMPANY = 10;

    /**
     * 工程师品类补贴配置-服务商配置
     */
    public static final int ERP_CONFIG_TYPE_SUBSIDY_COMPANY = 20;

    /**
     * 工程师品类补贴配置-城市配置
     */
    public static final int ERP_CONFIG_TYPE_SUBSIDY_CITY = 21;

    /**
     * 这个是个番外属性，仅仅用来区分查询，不建议别的地方使用
     */
    public static final int ERP_CONFIG_TYPE_SUBSIDY_CITY_QUERY = 22;

    /**
     * 工程师最低提留配置-服务商配置
     */
    public static final int ERP_CONFIG_TYPE_MIN_COMPANY = 30;

    /**
     * 规则类型：1新增，2启用，3停用
     */
    public static final int NEW_RULE = 1;
    public static final int CURRENT_RULE = 2;
    public static final int OLD_RULE = 3;

    /**
     * 平台启用停用状态：1停用，2启用
     */
    public static final int PLAT_START = 2;
    public static final int PLAT_STOP = 1;

    /**
     * 保内/保外：1保外，2保内
     */
    public static final int KEEP_IN = 2;
    public static final int KEEP_OUT = 1;


    /**
     * 绩效比例等级
     */
    public static final int[] KPI_RATE_LEVEL = {30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90};
    /**
     * 技术等级
     */
    public static final int[] KPI_TECHNICAL_LEVEL = {1, 2, 3, 4, 5};
    /**
     * 评价得分
     */
    public static final int[] KPI_COMMENT_LEVEL = {25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50};


    /**
     * 服务商扣款配置-订单失败扣款
     */
    public static final int DEDUCTION_TYPE_FAIL_ORDER = 1;

    /**
     * 服务商扣款配置-订单维护费
     */
    public static final int DEDUCTION_TYPE_ORDER_MAINTAIN = 2;

}
